package com.woniu.woniuk16.exception;

import lombok.Data;

@Data
public class WoniuException extends Exception{
    private Integer code;
    public WoniuException(String msg,Integer code){
        super(msg);
        this.code=code;
    }
    public WoniuException(String msg){
        super(msg);
        this.code=10001;
    }
}
